using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
namespace Hannon.FeedManager.Configuration
{
    [Serializable]
    public sealed class SubscriptionsSection : ConfigurationSection
    {
        private static readonly ConfigurationProperty _propSubscriptions;
        private static ConfigurationPropertyCollection _properties;

        public SubscriptionsSection() { }
        static SubscriptionsSection()
        {
            SubscriptionsSection._propSubscriptions = new ConfigurationProperty(null, typeof(SubscriptionSettingsCollection), null, ConfigurationPropertyOptions.IsDefaultCollection);
            SubscriptionsSection._properties = new ConfigurationPropertyCollection();
            SubscriptionsSection._properties.Add(SubscriptionsSection._propSubscriptions);
        }

        [ConfigurationProperty("", Options = ConfigurationPropertyOptions.IsDefaultCollection)]
        public SubscriptionSettingsCollection Subscriptions
        {
            get
            {
                return (SubscriptionSettingsCollection)base[SubscriptionsSection._propSubscriptions];
            }
        }
        protected override ConfigurationPropertyCollection Properties
        {
            get
            {
                return SubscriptionsSection._properties;
            }
        }
    }
}